package chances.epg.navigator;

import chances.epg.commons.exception.EpgRuntimeException;

public class AccessException extends EpgRuntimeException {
	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = 4565177890060925526L;
	private String errorCode;
	
	public AccessException(String errorCode,String message) {
		super(message);
		this.errorCode = errorCode;
	}
	
	public AccessException(String errorCode,String message, Throwable cause) {
		super(message, cause);
		this.errorCode = errorCode;
	}

	
	@Override
	public String getErrorCode() {
		return this.errorCode;
	}
}
